package com.ctg.itrdc.imageconsole.data.entity;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

import com.ctg.itrdc.paspsdk.pub.entity.BaseEntity;



@Table(name = "DOCKER_IMAGE")
public class DockerImage extends BaseEntity<Long> {
	private static final long serialVersionUID = -2811347047325737314L;


	@Id
	@Column(name = "ID")
	private Long id;

	@Column(name = "IMAGE_NAME")
	private String imageName;

	/**
	 * 001:正常002:删除
	 */
	@Column(name = "STATE")
	private String state;

	/**
	 * 标题描述
	 */
	@Column(name = "TITE_DESC")
	private String titeDesc;

	/**
	 * 最新版本
	 */
	@Column(name = "VERSION")
	private String version;

	/**
	 * 创建时间
	 */
	@Column(name = "CREATE_TIME")
	private String createTime;

	/**
	 * 001:基础镜像  002:构建镜像  003：共享镜像
	 */
	@Column(name = "IMAGE_TYPE")
	private String imageType;

	/**
	 * 概述
	 */
	@Column(name = "CONTENT")
	private String content;

	/**
	 * 最后更新时间
	 */
	@Column(name = "LAST_UPDATE_TIME")
	private String lastUpdateTime;

	/**
	 * 最后更新人
	 */
	@Column(name = "LAST_UPDATE_USER_ID")
	private Long lastUpdateUserId;

	/**
	 * 图片路径
	 */
	@Column(name = "IMAGEPATH")
	private String imagepath;

	/**
	 * 创建人
	 */
	@Column(name = "CREATE_USER_ID")
	private Long createUserId;


	public String getImageName() {
		return imageName;
	}

	public void setImageName(String imageName) {
		this.imageName = imageName;
	}

	public void setState(String state){
		this.state = state;
	}

	public String getState(){
		return this.state;
	}

	public void setTiteDesc(String titeDesc){
		this.titeDesc = titeDesc;
	}

	public String getTiteDesc(){
		return this.titeDesc;
	}

	public void setVersion(String version){
		this.version = version;
	}

	public String getVersion(){
		return this.version;
	}

	public void setCreateTime(String createTime){
		this.createTime = createTime;
	}

	public String getCreateTime(){
		return this.createTime;
	}

	public String getImageType() {
		return imageType;
	}

	public void setImageType(String imageType) {
		this.imageType = imageType;
	}

	public void setContent(String content){
		this.content = content;
	}

	public String getContent(){
		return this.content;
	}

	public void setLastUpdateTime(String lastUpdateTime){
		this.lastUpdateTime = lastUpdateTime;
	}

	public String getLastUpdateTime(){
		return this.lastUpdateTime;
	}

	public void setLastUpdateUserId(Long lastUpdateUserId){
		this.lastUpdateUserId = lastUpdateUserId;
	}

	public Long getLastUpdateUserId(){
		return this.lastUpdateUserId;
	}

	public void setImagepath(String imagepath){
		this.imagepath = imagepath;
	}

	public String getImagepath(){
		return this.imagepath;
	}

	public void setCreateUserId(Long createUserId){
		this.createUserId = createUserId;
	}

	public Long getCreateUserId(){
		return this.createUserId;
	}


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}
	
	public DockerImage() {
		super();
    }

}
